﻿using Hospital.IRepository;
using Hospital.IService;
using Hospital.Model.type;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hospital.Service
{
    public class SpecialtyService : BaseService<Specialty> , ISpecialtyService
    {
        private readonly ISpecialtyRepository _iSpecialtysRepository;
        public SpecialtyService(ISpecialtyRepository iSpecialtyRepository)
        {
            //实例化仓储
            base._iBaseRepository = iSpecialtyRepository;
            //保存仓储
            _iSpecialtysRepository = iSpecialtyRepository;
        }
    }
}
